import Request from '@/libs/request'

/**web 首页 多设备 数据概览-水质总览 */
export const uSelectWebMoreDevDataPandect = (data: {userId: string}) =>
  Request.get<DataOverview.OverView>('/user/uSelectWebMoreDevDataPandect', data)

/**web 首页 多设备 数据概览-水质分析 */
export const uSelectWebMoreDevDataAnalyse = (data: {userId: string}) =>
  Request.get<DataOverview.Analyze>('/user/uSelectWebMoreDevDataAnalyse', data)

/**web 首页 多设备 数据概览-设备总览 */
export const uSelectWebMoreDevStatusPandect = (data: {userId: string}) =>
  Request.get<DataOverview.DevOverview>('/user/uSelectWebMoreDevStatusPandect', data)

/**web 首页 多设备 数据概览-快捷操作 */
export const uSelectQuickMakeList = (data: {userId: string}) =>
  Request.get<DataOverview.QuicklyClick>('/user/uSelectQuickMakeList', data)

/**web 首页 多设备 数据概览---  所有单个设备数据 */
export const uSelectMyDevListDataAnalyse = (data: {userId: string}) =>
  Request.get<DataOverview.DeviceListData[]>('/user/uSelectMyDevListDataAnalyse', data)

/**web 首页 多设备 数据概览-异常警报 */
export const uSelectDevExceptionReport = (data: {userId: string}) =>
  Request.get<DataOverview.AlarmDevLog>('/user/uSelectDevExceptionReport', data)

/**web 首页 多设备 数据概览--- 操作日志 */
export const uSelectDevMakeLog = (data: {userId: string}) =>
  Request.get<AlaramLog[]>('/user/uSelectDevMakeLog', data)
